package com.cskaoyan.service;

import com.cskaoyan.exception.GoodsIdNonexistentException;
import com.cskaoyan.model.bean.Groupon;
import com.cskaoyan.model.bean.GrouponRules;
import com.cskaoyan.model.bo.extend.GrouponBo;
import com.cskaoyan.model.bo.extend.GrouponRulesBo;
import com.cskaoyan.model.vo.extend.GrouponRulesVo;
import com.cskaoyan.model.vo.extend.GrouponVo;

/**
 * @Author：Chunk
 * @Description:
 * @Date Created in 12:30 2021/4/10
 */
public interface GrouponService {
    GrouponRulesVo grouponList(GrouponRulesBo grouponRulesBo);

    GrouponRules grouponCreate(GrouponRules grouponRules) throws GoodsIdNonexistentException;

    GrouponRules grouponUpdate(GrouponRules grouponRules) throws GoodsIdNonexistentException;

    void grouponDelete(GrouponRules grouponRules);

    GrouponVo grouponListRecord(GrouponBo grouponBo);
}
